<template>
<div>
<van-card
  :price="item.price"
  :desc="item.desc"
  :title="item.title"
  :thumb="`http://121.199.51.160:8080${item.houseImg}`"
>
  <template #tags>
    <van-tag plain type="danger">{{item.tags[0]}}</van-tag>
  </template>
</van-card>
</div>
</template>

<script>
export default {
  name: 'detailItem-page',
  components: {},
  props: {
    item: {
      type: Object,
      required: true
    }
  },
  data () {
    return {}
  },
  computed: {},
  watch: {},
  created () {
    // console.log(this.item)
  },
  methods: {}
}
</script>

<style scoped lang="less">
.van-tag {
  background-color: #e5f4f7;
  color: #6fbfcd;
}
</style>
